import Request from '@/utils/request/request-util';

/**
 * 煤场管理代码-API接口
 *
 * @author 张朋飞
 * @date 2024/09/13 21:54
 */
export class WmMdWarehouseManageApi {


  /**
   * 获取分页列表
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static findPage(params) {
    return Request.getAndLoadData('/wmMdWarehouseManage/page', params);
  }

  /**
   * 添加煤场管理代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static add(params) {
    return Request.post('/wmMdWarehouseManage/add', params);
  }

  /**
   * 编辑煤场管理代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static edit(params) {
    return Request.post('/wmMdWarehouseManage/edit', params);
  }

  /**
   * 删除单个煤场管理代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static delete(params) {
    return Request.post('/wmMdWarehouseManage/delete', params);
  }

  /**
   * 删除批量煤场管理代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static batchDelete(params) {
    return Request.post('/wmMdWarehouseManage/batchDelete', params);
  }

  /**
   * 煤场管理代码详情
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static detail(params) {
    return Request.getAndLoadData('/wmMdWarehouseManage/detail', params);
  }

  

  
  /**
   * 获取所有信息
   *
   * @author 张朋飞
   * @date 2024/09/13 21:54
   */
  static findList(params) {
    return Request.getAndLoadData('/wmMdWarehouseManage/list', params);
  }
}